package com.deep.bilibili.vo;


import com.deep.bilibili.entity.Menu;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 菜单树
 *
 */
public class TreeMenu implements Serializable{

    /**
     * 菜单
     */
    private Menu menu;
    /**
     * 子菜单
     */
    private List<TreeMenu> children = new ArrayList<TreeMenu>();

    public Menu getMenu() {
        return menu;
    }

    public void setMenu(Menu menu) {
        this.menu = menu;
    }

    public List<TreeMenu> getChildren() {
        return children;
    }

    public void setChildren(List<TreeMenu> children) {
        this.children = children;
    }


}
